define('pc/js/mod/home/vue-home-nav', null, () => {

const VueHomeNav = {
    props: ['conf'],
    data: function() {
        return {
            // {title, navs}
            data: this.conf
        }
    },
    template:
`
<div class="x-pullleft home-content-left">
    <div class="home-content-left-title">{{ data.title }}</div>
    <ul class="home-content-left-list">
        <li class="home-content-left-list-item" v-for="item in data.navs">
            <router-link v-bind:to="item.link">
                <i class="home-content-icon-folder"></i>
                <span>{{ item.text }}</span>
            </router-link>
        </li>
    </ul>
</div>
`
};

return VueHomeNav;

});
